package com.dqx.haoqiu.mvp.module.guide;

import com.dqx.haoqiu.mvp.common.base.BasePresenter;
import com.dqx.haoqiu.repository.repository.user.UserRepository;

import javax.inject.Inject;

public class GuidePresenter extends BasePresenter<GuideContract.View> implements GuideContract.Presenter {
    UserRepository userRepository;

    @Inject
    public GuidePresenter(UserRepository userRepository) {
        this.userRepository = userRepository;
    }

    @Override
    public void setShowGuide(boolean showGuide) {
        userRepository.setShowGuide(showGuide);
    }
}